﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Web;

namespace com.flajaxian
{
    /// <summary>
    /// 
    /// </summary>
    public class PreSendingFileStreamEventArgs : EventArgs
    {
        private Stream _fileStream;
        private HttpPostedFile _file;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="file"></param>
        public PreSendingFileStreamEventArgs(HttpPostedFile file)
        {
            this._file = file;
            this._fileStream = file.InputStream;
        }

        /// <summary>
        /// 
        /// </summary>
        public Stream FileStream
        {
            get { return this._fileStream; }
            set { this._fileStream = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public HttpPostedFile File
        {
            get { return this._file; }
        }
    }
}
